﻿using System;
using System.Data.Linq.Mapping;

namespace LocalStorageOfBooks
{
    [Table]
    public class Book
    {
        [Column(IsPrimaryKey = true)]
        public string BookID { get; set; }
        
        [Column]
        public string Title { get; set; }
        
        [Column]
        public string Author { get; set; }
        
        [Column]
        public string Publisher { get; set; }
        
        [Column]
        public DateTime PublicationDate { get; set; }
    } 
}
